<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>LarryBlogCMS后台登录</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <!-- load css和js -->
    <link rel="stylesheet" type="text/css" href="{{asset('admin/layui/css/layui.css')}}"    media="all">
    <link rel="stylesheet" type="text/css" href="{{asset('admin/layui/css/login.css')}}" media="all">

    <!-- 自己引入的js -->
    <link href="{{asset('admin/js/toastr/toastr.min.css')}}" rel="stylesheet" type="text/css"/>

    <script src="{{asset('admin/js/jquery.min.js')}}"></script>
    <script src="{{asset('admin/js/toastr/toastr.min.js')}}"></script>

</head>
<body>
<div class="layui-canvs"></div>
<div class="layui-layout layui-layout-login">
    <h1>
        <strong>LarryCMS管理系统后台</strong>
        <em>Management System</em>
    </h1>
    <form action="{{route('admin.doLogin')}}" method="POST" id="loginForm">
        {{ csrf_field() }}
        <div class="layui-pwd-icon larry-login">
            <input type="username" placeholder="账号"  name="username"  class="login_txtbx"/>
        </div>
        <div class="layui-pwd-icon larry-login">
            <input type="password" placeholder="密码"  name="password"  class="login_txtbx"/>
        </div>

        <div class="layui-submit larry-login">
            <input type="submit" value="立即登陆" class="submit_btn"/>
        </div>
    </form>
    <div class="layui-login-text">
        <p>© 2016-2017 Larry 版权所有</p>
        <p>鄂B2-20080225-1 <a href="http://www.qinshouwei.com" title="">qinshouwei.com</a></p>
    </div>
</div>
<script type="text/javascript" src="{{asset('admin/layui/lay/dest/layui.all.js')}}"></script>
<script type="text/javascript" src="{{asset('admin/layui/js/login.js')}}"></script>
<script type="text/javascript" src="{{asset('admin/layui/jsplug/jparticle.jquery.js')}}"></script>
<script type="text/javascript">
    $(function(){
        $(".layui-canvs").jParticle({
            background: "#141414",
            color: "#E6E6E6"
        });

    });
    {{--刷新验证码--}}
    function refreshCode(obj) {
        obj.src = "{{route('coms.login-code')."?code="}}" + Math.random();

    }
</script>
@include('errors.toast')
</body>
</html>
